A program using switch statement in c language